﻿<Window x:Class="BleQua.UI.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:BleQua"
    xmlns:data="clr-namespace:BleQua.Data;assembly=BleQua.DataModel"
    xmlns:common="clr-namespace:Alfa.Common"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Title="BleQua" Height="500" Width="300" Closed="Window_Closed" xmlns:my="clr-namespace:BleQua.Controls">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="25" />
            <RowDefinition Height="401*" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Menu Name="M_MainWindow">
			<MenuItem Header="Program" Name="M_Program">
				<MenuItem Header="Wizytówka" Name="M_VCard">
					<MenuItem Header="GG: 211837" Name="M_VCard1"></MenuItem>
					<MenuItem Header="XMPP: virusxd@aqq.eu" Name="M_VCard2"></MenuItem>
                </MenuItem>
                <Separator Margin="0" />
				<MenuItem Header="Historia" Name="M_History">
					<MenuItem Header="Rozmów" Name="M_TalkHistory" Click="M_TalkHistory_Click"></MenuItem>
					<MenuItem Header="Transferów" Name="M_TransferHistory" Click="M_TransferHistory_Click"></MenuItem>
                </MenuItem>
                <Separator Margin="0" />
				<MenuItem Header="Ustawienia" Name="M_Options" Click="M_Options_Click"></MenuItem>
                <Separator/>
				<MenuItem Header="Wyloguj" Name="M_LogOut" Click="M_LogOut_Click"></MenuItem>
				<MenuItem Header="Restart" Name="M_ReStart" Click="M_ReStart_Click"></MenuItem>
				<MenuItem Header="Zamknij" Name="M_ShutDown" Click="M_ShutDown_Click"></MenuItem>
            </MenuItem>
            <MenuItem Header="Kontakty" Name="M_Contacts">
                <MenuItem Header="Dodaj kontakt" Name="M_AddContact" Click="M_AddContact_Click"></MenuItem>
                <MenuItem Header="Szukaj znajomych" Name="M_SearchFriends" Click="M_SearchFriends_Click"></MenuItem>
				<Separator Margin="0" />
                <MenuItem Header="Znajdź na liście" Name="M_Find" Click="M_Find_Click"></MenuItem>
                <MenuItem Header="Import i eksport" Name="M_ImortExport" Click="M_ImortExport_Click"></MenuItem>
				<Separator Margin="0" />
                <MenuItem Header="Dodaj grupę" Name="M_AddGroup" Click="M_AddGroup_Click"></MenuItem>
                <MenuItem Header="Rozwiń/zwiń grupy" Name="M_USGroups" Click="M_USGroups_Click"></MenuItem>
                <MenuItem Header="Odśwież" Name="M_Refresh" Click="M_Refresh_Click"></MenuItem>
            </MenuItem>
            <MenuItem Header="Pomoc" Name="M_Help">
                <MenuItem Header="Aktualizacja" Name="M_Update" Click="M_Update_Click"></MenuItem>
				<Separator Margin="0" />
                <MenuItem Header="Pomoc" Name="M_IndexHelp" Click="M_IndexHelp_Click"></MenuItem>
				<Separator Margin="0" />
                <MenuItem Header="O programie" Name="M_About" Click="M_About_Click"></MenuItem>
            </MenuItem>
        </Menu>
        <TabControl Grid.Row="1" Name="TC_Main">
            <TabItem Header="Kontakty" Name="TI_Contacts">
                <Grid>
					<my:ContactsControl x:Name="MyContactsControl" />
				</Grid>
            </TabItem>
            <TabItem Header="Usługi" Name="TI_Services">
				<my:ServicesControl x:Name="MyServicesControl" />
			</TabItem>
            <TabItem Header="Chaty" Name="TI_Chats">
				<my:ChatsControl x:Name="MyChatsControl" />
			</TabItem>
        </TabControl>
        <StatusBar Grid.Row="3" Name="SB_Status">
			<MenuItem>
				<MenuItem.Icon>
					<Image Source="/BleQua;component/Images/hprichbg.jpg" />
				</MenuItem.Icon>
			</MenuItem>
		</StatusBar>
    </Grid>
</Window>